main {
  div {
    border: solid 1px #ddd;
    padding: 1rem;
    display: none;
  }
  input[type='radio']#stu:checked ~ div[name='stu'] {
    display: block;
  }
  input[type='radio']#teacher:checked ~ div[name='teacher'] {
    display: block;
  }
}
